bound = 17
primes = [2]
print "{11",
for n in xrange(3,1000000,2):
	is_prime = 1
	for p in primes:
		if (n % p == 0):
			is_prime = 0
			break
	if (is_prime == 1):
		if (n >= bound):
			print ",", n,
			bound = round(bound * 1.5)
		primes.append(n)
print "}"